package inject

import (
	"gitee.com/kordar/bucket/controller"
	"gitee.com/kordar/bucket/service"
	"github.com/redis/go-redis/v9"
	"go.uber.org/dig"
	"gorm.io/gorm"
)

type DatasetDB struct {
	dig.In
	DB    *gorm.DB              `name:"mysql.sys"`
	Redis redis.UniversalClient `name:"goredis.sys"`
}

type ControllerParams struct {
	dig.In
	service.BucketUploaderService
}

type RouterParams struct {
	dig.In
	BucketCtrl *controller.BucketController
}
